// 
//  1. 
// https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2750055a558bbe86&redirect_uri=http://mxr.dounixue.net/&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect

// 返回code, 

// 2. 通过code, https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET 
// 获取用户的 access_token, 主要 openid 和 access_token

// 3. 用户的基本信息 openid access_token

// https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN 

// 获取用户详细信息. 

//  https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2750055a558bbe86&redirect_uri=http://mxr.dounixue.net/&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect

// https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx2750055a558bbe86&secret=SECRET&code=CODE&grant_type=authorization_code

// https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx2750055a558bbe86&secret=fe33aae20890da44fc14c709468b7a91&code=081YScPa1daFKu0rnnPa1ba8Pa1YScPL&grant_type=authorization_code

// {
//     "access_token": "11_YCW-jy6pJz2kn25tBditv-5OTEBcsl82eTmO_1xJI2MH8EJyGNaHBdhYk0eazjMJ80-2gpJTlXEjxcHy51FDKA",
//     "expires_in": 7200,
//     "refresh_token": "11_9sQQfHkx2_D03pa3FSSBKPCaMMEl7Mm06Pxb2mb5HEl-L7f_zUktWNJYlGmRXViI2kwLSBNoh0wflXVywHV97w",
//     "openid": "oSV35t1edoa7ocKrAhuK_bGJZXQc",
//     "scope": "snsapi_userinfo"
// }
// https://api.weixin.qq.com/cgi-bin/user/info?access_token=11_YCW-jy6pJz2kn25tBditv-5OTEBcsl82eTmO_1xJI2MH8EJyGNaHBdhYk0eazjMJ80-2gpJTlXEjxcHy51FDKA&openid=oSV35t1edoa7ocKrAhuK_bGJZXQc&lang=zh_CN 




